import { LoginParams } from '@/pages/Login/typeing';
import ServicesBase from './ServicesBase';

class LoginService extends ServicesBase {
  login = (params: LoginParams) => {
    return this.Request('/login', params);
  };

  getChart = ({ id }) => {
    return this.Request('/chart/' + id);
  };
}

export default new LoginService();
